package com.dxysun.design.observer.universe;

public class ConcreteObserver<E> implements IObserver<E>
{
	private String name;

	public ConcreteObserver(String name)
	{
		this.name = name;
	}

	@Override
	public void update(E e)
	{
		System.out.println(name + "收到通知，更新状态:" + e.toString());
	}
}
